{% load i18n %}
{% load thumbnail %}

{% for gallery in galleries %}
{% cycle '<tr>' '' '' '' '' %}
<td width="200" valign=top align="left"  class="styleBLOCK">

    <a href="{% ifequal LANGUAGE_CODE 'ru' %}{% url gallery-view-ru gallery.slug %}{% else %}{% url gallery-view-en gallery.slug %}{% endifequal %}"><img src='{{ gallery.ico.name|thumbnail:"width=120,height=120" }}' title='{{ gallery.title }}' alt='{{ gallery.title }}' class="im" /></a><br /><b>{{ gallery.description|safe }}</b>

<td>
{% cycle '' '' '' '' '</tr>' %}
{% endfor %}